<template>
  <div class="avatar_login drag">
    <img class="no-drag" src="../assets/image/default-avatar.jpg" alt="avatar" />
    <span class="username no-drag">稀奇洋洋</span>
  </div>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss">
.avatar_login {
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  cursor: pointer;

  img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 5px;
  }

  .username {
    user-select: none;
    font-size: 16px;
    color: #fff;
  }
}
</style>
